\hypertarget{classaetycoon_1_1_array_property}{
\section{aetycoon.ArrayProperty Class Reference}
\label{classaetycoon_1_1_array_property}\index{aetycoon::ArrayProperty@{aetycoon::ArrayProperty}}
}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classaetycoon_1_1_array_property_aa7bcb1256fc90d87002f3829fb394ea5}{
def {\bfseries \_\-\_\-init\_\-\_\-}}
\label{classaetycoon_1_1_array_property_aa7bcb1256fc90d87002f3829fb394ea5}

\item 
\hypertarget{classaetycoon_1_1_array_property_a8dc36f15d34290c00255e3d81ce42f13}{
def {\bfseries get\_\-value\_\-for\_\-datastore}}
\label{classaetycoon_1_1_array_property_a8dc36f15d34290c00255e3d81ce42f13}

\item 
\hypertarget{classaetycoon_1_1_array_property_a60b1c306c68c6509d119623b47cabfa1}{
def {\bfseries make\_\-value\_\-from\_\-datastore}}
\label{classaetycoon_1_1_array_property_a60b1c306c68c6509d119623b47cabfa1}

\item 
\hypertarget{classaetycoon_1_1_array_property_a7d0d421f4b5303c9a95f7f5352653988}{
def {\bfseries empty}}
\label{classaetycoon_1_1_array_property_a7d0d421f4b5303c9a95f7f5352653988}

\item 
\hypertarget{classaetycoon_1_1_array_property_af7fe3f1da2903b6f2918f75b5aba30e2}{
def {\bfseries validate}}
\label{classaetycoon_1_1_array_property_af7fe3f1da2903b6f2918f75b5aba30e2}

\item 
\hypertarget{classaetycoon_1_1_array_property_a8da2a3768714cc1c5a27aa4b3eb2ef79}{
def {\bfseries default\_\-value}}
\label{classaetycoon_1_1_array_property_a8da2a3768714cc1c5a27aa4b3eb2ef79}

\end{DoxyCompactItemize}
\subsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classaetycoon_1_1_array_property_ab7831b850e04dd79e6d0af3951ca5503}{
{\bfseries data\_\-type} = array.array}
\label{classaetycoon_1_1_array_property_ab7831b850e04dd79e6d0af3951ca5503}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
\begin{DoxyVerb}An array property that is stored as a string.

Example usage:

>>> class ArrayModel(db.Model):
...  v = ArrayProperty('i')
>>> m = ArrayModel()

If you do not supply a default the array will be empty.

>>> m.v
array('i')

>>> m.v.extend(range(5))
>>> m.v
array('i', [0, 1, 2, 3, 4])
>>> m.put() # doctest: +ELLIPSIS
datastore_types.Key.from_path(u'ArrayModel', ...)
>>> m2 = ArrayModel.all().get()
>>> m2.v
array('i', [0, 1, 2, 3, 4])
\end{DoxyVerb}
 

The documentation for this class was generated from the following file:\begin{DoxyCompactItemize}
\item 
aetycoon/\_\-\_\-init\_\-\_\-.py\end{DoxyCompactItemize}
